Bug 457086 - numpad does not work when the Thai-Lao input method is used
authorTheppitak Karoonboonyanan <thep@linux.thai.net>
Mon, 2 Mar 2009 04:17:28 +0000 (04:17 +0000)
committerTheppitak Karoonboonyanan <tkaroonb@src.gnome.org>
Mon, 2 Mar 2009 04:17:28 +0000 (04:17 +0000)
2009-03-02  Theppitak Karoonboonyanan  <thep@linux.thai.net>

Bug 457086 - numpad does not work when the Thai-Lao input method is
used

* modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count
character-generating keypads as context-lost keys. (patch recommitted
after approval)

svn path=/trunk/; revision=22437

ChangeLog
modules/input/gtkimcontextthai.c

index 0cd6180339fa44bcebc80ee7c53e36d66f980722..da357b2eceb13379a1a7d05ed6e96e90331b9ec7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-03-02  Theppitak Karoonboonyanan  <thep@linux.thai.net>
+
+       Bug 457086 - numpad does not work when the Thai-Lao input method is
+       used
+
+       * modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count
+       character-generating keypads as context-lost keys. (patch recommitted
+       after approval)
+
 2009-03-01  Matthias Clasen  <mclasen@redhat.com>
 
        * gdk/gdkkeysyms.h: Fix the sorting of GDK_KP_Equal.
index 0b2d6b6b5842464284362758070f05f24a3c373f..640c013c5fedbe2ea0e20a3be2bd0a44985d863c 100644 (file)
@@ -122,7 +122,7 @@ is_context_lost_key(guint keyval)
           keyval == GDK_Escape ||
           keyval == GDK_Delete ||
           (GDK_Home <= keyval && keyval <= GDK_Begin) || /* IsCursorkey */
-          (GDK_KP_Space <= keyval && keyval <= GDK_KP_Equal) || /* IsKeypadKey */
+          (GDK_KP_Space <= keyval && keyval <= GDK_KP_Delete) || /* IsKeypadKey, non-chars only */
           (GDK_Select <= keyval && keyval <= GDK_Break) || /* IsMiscFunctionKey */
           (GDK_F1 <= keyval && keyval <= GDK_F35)); /* IsFunctionKey */
 }